/*
 *      应用初始化类
 */
#ifndef KITHARANETWORK_APPINIT_H
#define KITHARANETWORK_APPINIT_H

#include <QObject>

class AppInit final : public QObject
{
    Q_OBJECT
public:
    /* 单例模式 */
    static AppInit *Instance();

    explicit AppInit(QObject *parent = nullptr);
    ~AppInit() override = default;

public:
    /* 初始化 */
    void Start();

protected:
    bool eventFilter(QObject *obj, QEvent *evt) override;

};

#endif //KITHARANETWORK_APPINIT_H
